package com.secret.chain.secretchain.service;

import com.secret.chain.secretchain.domain.entity.Comment;
import com.secret.chain.secretchain.result.Result;

public interface CommentService {
    Result<Comment> queryByArticleId(Integer id);

    Result<Comment> queryByUserId(Integer id);

    Result save(Comment comment);

    Result delete(Integer id);

    Result update(Comment comment);
}


